package com.ss.hello_spring_boot_starter;

/**
 * @author Ss
 * @version V1.0
 * @description 【HelloService 服务】
 * @date 2019/1/28
 */


public class HelloService {

    //消息内容
    private String msg;
    //是否显示消息内容
    private Boolean show = true;

    public String sayHello(){
        return show ? "Hello " + msg : "HIDDEN";
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getShow() {
        return show;
    }

    public void setShow(Boolean show) {
        this.show = show;
    }
}
